package com.zb.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author WEN
 * @Date 2023/7/14 0014
 **/
@Data
@ApiModel("仓库权限封装")
public class StoreAuthorDto {
    @ApiModelProperty(value = "主健ID，新增时不必传，修改时必传")
    private Long id;

    @NotNull(message = "仓库类型不能为空")
    @ApiModelProperty(value = "类型：1- 入库，2-出库，3-调拨，4-盘点", required = true)
    private Integer type;

    @NotNull(message = "权限类型不能为空")
    @ApiModelProperty(value = "权限类型：1-入库/出库审核，2-发货，3-出库，4-作废", required = true)
    private Integer category;
}
